package cn.cloudtogo.common.types;

import java.util.HashMap;
import java.util.Map;

/**
 * @author yaolianhua789@gmail.com
 **/
public class Pair extends HashMap<String, Object> {

    public static Pair pair(Map<String, Object> map) {
        Pair pair = new Pair();
        map.forEach(pair::put);
        return pair;
    }

    public static Pair pair() {
        return new Pair();
    }

}
